package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2018-08-18
 */
@TableName("tb_customer")
public class Customer extends Model<Customer> {

    private static final long serialVersionUID = 1L;

    /**
     * 客户id
     */
    @TableId("customer_id")
    private Long customerId;
    /**
     * 客户名称
     */
    @TableField("customer_name")
    private String customerName;
    /**
     * 负责人
     */
    private String principal;
    /**
     * 负责人电话
     */
    @TableField("principal_tel")
    private String principalTel;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 地区
     */
    @TableField("area_id")
    private Integer areaId;
    /**
     * 购物电话
     */
    @TableField("shopping_tel_id")
    private Integer shoppingTelId;
    /**
     * 地址
     */
    private String address;
    /**
     * 备注
     */
    private String remarks;
    /**
     * 合作状态
     */
    private Integer status;


    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal;
    }

    public String getPrincipalTel() {
        return principalTel;
    }

    public void setPrincipalTel(String principalTel) {
        this.principalTel = principalTel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getShoppingTelId() {
        return shoppingTelId;
    }

    public void setShoppingTelId(Integer shoppingTelId) {
        this.shoppingTelId = shoppingTelId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return this.customerId;
    }

    @Override
    public String toString() {
        return "Customer{" +
        "customerId=" + customerId +
        ", customerName=" + customerName +
        ", principal=" + principal +
        ", principalTel=" + principalTel +
        ", email=" + email +
        ", areaId=" + areaId +
        ", shoppingTelId=" + shoppingTelId +
        ", address=" + address +
        ", remarks=" + remarks +
        ", status=" + status +
        "}";
    }
}
